*{
    margin: 0;
    padding: 0;
    /* transition: .5s all; */
}

body{
    overflow: hidden;
}

.game{
    position: relative;
    background: url(../img/sky.png);
    width: 100%;
    height: 600px;
}

.bird{
    position: absolute;
    background: url(../img/birds.png) repeat;
    width: 52px;
    height: 45px;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    /* transition: .5s top; */
}

.bird_fly{
    animation: BirdJump 1s ease-in-out infinite;
}

.start{
    position: absolute;
    background: url(../img/Buttons.png);
    width: 92px;
    height: 51px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    /* border: 1px solid red; */
}

.score{
    position: absolute;
    font-size: 36px;
    font-weight: bolder;
    color: white;
    top: 30px;
    left: 50%;
    transform: translate(-50%,0);
    display: none;
    text-shadow: 2px 2px 10px #4b4b4b;
    z-index: 2;
}

.end{
    position:absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
    display: none;
    /* opacity: .5; */
}

.end::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .5;
}

.scoreShow{
    position: absolute;
    width: 250px;
    height: 200px;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: bisque;
    z-index: 5;
    color: darkorange;
    font-weight: bolder;
    font-size: 24px;
    border-radius: 10px;
    text-align: center;
}

.gameStatus{
    margin-top: 30px;
    margin-bottom: 20px;
}

.restart{
    background: url(../img/Hint.png);
    width: 161px;
    height: 45px;
    position:absolute;
    left: 50%;
    top: 80%;
    transform: translate(-50%,-50%);
}


@keyframes BirdJump{
    0%{
        top: 38%;
        /* transform: rotate(-10deg); */
    }
    50%{
        top: 40%;
        /* transform: rotate(10deg); */
    }
    100%{
        top: 38%;
        /* transform: rotate(-10deg); */
    }
}